//
//  ViewController.m
//  DealWithImage
//
//  Created by 李明明 on 15/8/16.
//  Copyright (c) 2015年 李明明. All rights reserved.
//

#import "ViewController.h"
#import <SpriteKit/SpriteKit.h>
#import <GLKit/GLKit.h>
#import "UIImage+Zoom.h"

@interface ViewController ()<UIImagePickerControllerDelegate, UINavigationControllerDelegate>
@property (nonatomic, weak) IBOutlet UILabel *label;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
//    [self.image.image makeZoomImageWithSacle:1];
//    [self testMethod];
//    NSLog(@"%@", dic);
}
- (BOOL)checkForExtension:(NSString *)str
{
    int max = 0;
    glGetIntegerv(GL_EXTENSIONS, &max);
    NSMutableSet *set = [NSMutableSet set];
    for (int i = 0; i < max; i++) {
        [set addObject:@((char *)glGetString(GL_EXTENSIONS))];
    }
    return [set containsObject:str];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
